﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using Core;

namespace DAL
{
    public class NhomQuyenDAL
    {
        public static List<NhomQuyen> LayTatCa()
        {
            try
            {
                return CBO.FillCollection<NhomQuyen>(DataProvider.Instance.ExecuteReader("NhomQuyen_LayTatCa"));
            }
            catch
            {

                return new List<NhomQuyen>();
            }
        }

    }
}
